// 销售管理
export default {
  path: "/ERP_sales",
  meta: {
    icon: "ri:scales-2-fill",
    title: "销售管理",
    rank: 10,
    roleIds: ["cloudPurchase", "project"]
  },
  children: [
    // 菜单展示类
    {
      path: "/ERP_sales/salesContract",
      name: "salesContract",
      component: () => import("@/views/ERP_sales/salesContract.vue"),
      meta: {
        icon: "ri:contract-line",
        title: "销售合同",
        showParent: true,
        keepAlive: true
      }
    },
    {
      path: "/ERP_sales/salesSupplementContract",
      name: "salesSupplementContract",
      component: () => import("@/views/ERP_sales/salesSupplementContract.vue"),
      meta: {
        icon: "ri:file-shield-2-line",
        title: "销售补充合同",
        showParent: true,
        keepAlive: true
      }
    },
    // 跳转详情页
    {
      path: "/ERP_sales/components/editSalesContract",
      name: "editSalesContract",
      component: () =>
        import("@/views/ERP_sales/components/editSalesContract.vue"),
      meta: {
        showLink: false,
        keepAlive: true
      }
    },
    {
      path: "/ERP_sales/components/editSupSalesContract",
      name: "editSupSalesContract",
      component: () =>
        import("@/views/ERP_sales/components/editSupSalesContract.vue"),
      meta: {
        showLink: false,
        keepAlive: true
      }
    },
    {
      path: "/ERP_sales/components/salesContractDetail",
      name: "salesContractDetail",
      component: () =>
        import("@/views/ERP_sales/components/salesContractDetail.vue"),
      meta: {
        showLink: false,
        keepAlive: true
      }
    }
  ]
};
